package com.tour.tour.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tour.tour.common.Response;
import com.tour.tour.dto.LoginFormDTO;
import com.tour.tour.dto.RegisterFormDTO;
import com.tour.tour.entity.User;
import sun.text.resources.ga.FormatData_ga;

import javax.servlet.http.HttpSession;

/**
 * @author 76004
 * @apiNote
 * @date 2023/4/24 22:43
 */
public interface UserService extends IService<User> {
    
    Response sendCode(String code, HttpSession session);
    
    Response register(RegisterFormDTO registerForm, HttpSession session);
    
    Response login(LoginFormDTO loginForm, HttpSession session);
    
    Response forgotPassword(RegisterFormDTO forgotForm, HttpSession session);
    
    Response sign();
    
    Response signCount();
}
